package client.ui.view.module;

import client.ui.component.navigation.NavigationBarGroup;
import client.ui.component.navigation.NavigationBarItem;
import client.ui.theme.ThisFont;
import client.ui.util.MaterialColors;

import javax.swing.*;
import java.awt.*;

/**
  * @Description 联系人列表一个联系人
  * @author 孔明浩
  * @Date 2020/3/31
  */
public class TalkListItem extends NavigationBarItem {
    public TalkListItem(String text, Icon icon, NavigationBarGroup navigationBarGroup) {
        super(text, icon, MaterialColors.BLUE_600,MaterialColors.BLUE_500,MaterialColors.BLUE_700,MaterialColors.WHITE,MaterialColors.WHITE,MaterialColors.WHITE, navigationBarGroup);
        this.setPreferredSize(new Dimension(200,36));
        this.setFont(ThisFont.MIDDLE_FONT);
    }
}
